package info.millionhere.keepsilent;

import java.util.ArrayList;

public class BlackListElement {
    
    static final String TAG_ADDRESS = "Address";
    static final String TAG_COMMENT = "Comment";
    static final String TAG_AVAILABLE = "Available";
    
    String sAddress;
    String sComment;
    boolean bAvailable;

    public BlackListElement(String sAddress, String sComment, boolean bAvailable){
	this.sAddress = sAddress;
	this.sComment = sComment;
	this.bAvailable = bAvailable;
    }
    
    public ArrayList<String[]> Print(){
	ArrayList<String[]> out = new ArrayList<String[]>();
	out.add(new String[]{TAG_ADDRESS, sAddress});
	out.add(new String[]{TAG_COMMENT, sComment});
	out.add(new String[]{TAG_AVAILABLE, bAvailable?"true":"false"});
	return out;
    }
}
